import http from '@/config/http'


//登录
export function Login(data) {
  return http.post('/api/user/login', data)
}
//注册
export function register(data) {
  return http.post('/api/user/register', data)
}
